package com.ecommerce.model;
import java.io.Serializable;
public class ContentData implements Serializable {
    private String contentId;
    private String shopName;
    private String contentType;
    private String contentSubType;
    private Double transactionAmount;
    private Integer viewCount;
    private Integer clickCount;
    private String category;
    private Long timestamp;
    private Integer rank;

    // Constructors, Getters and Setters
    public ContentData() {}

    public ContentData(String contentId, String shopName, String contentType, 
                      String contentSubType, Double transactionAmount, Integer viewCount, 
                      Integer clickCount, String category, Long timestamp, Integer rank) {
        this.contentId = contentId;
        this.shopName = shopName;
        this.contentType = contentType;
        this.contentSubType = contentSubType;
        this.transactionAmount = transactionAmount;
        this.viewCount = viewCount;
        this.clickCount = clickCount;
        this.category = category;
        this.timestamp = timestamp;
        this.rank = rank;
    }

    // Getters and Setters...
    public String getContentId() { return contentId; }
    public void setContentId(String contentId) { this.contentId = contentId; }

    public String getShopName() { return shopName; }
    public void setShopName(String shopName) { this.shopName = shopName; }

    public String getContentType() { return contentType; }
    public void setContentType(String contentType) { this.contentType = contentType; }

    public String getContentSubType() { return contentSubType; }
    public void setContentSubType(String contentSubType) { this.contentSubType = contentSubType; }

    public Double getTransactionAmount() { return transactionAmount; }
    public void setTransactionAmount(Double transactionAmount) { this.transactionAmount = transactionAmount; }

    public Integer getViewCount() { return viewCount; }
    public void setViewCount(Integer viewCount) { this.viewCount = viewCount; }

    public Integer getClickCount() { return clickCount; }
    public void setClickCount(Integer clickCount) { this.clickCount = clickCount; }

    public String getCategory() { return category; }
    public void setCategory(String category) { this.category = category; }

    public Long getTimestamp() { return timestamp; }
    public void setTimestamp(Long timestamp) { this.timestamp = timestamp; }

    public Integer getRank() { return rank; }
    public void setRank(Integer rank) { this.rank = rank; }

    @Override
    public String toString() {
        return "ContentData{" +
                "contentId='" + contentId + '\'' +
                ", contentSubType='" + contentSubType + '\'' +
                ", transactionAmount=" + transactionAmount +
                ", viewCount=" + viewCount +
                ", rank=" + rank +
                '}';
    }}